import java.util.ArrayList;
import java.util.List;

public class test1{
    public static void main(String[] args) {
        BinaryTree binaryTree=new BinaryTree();
        //树
        BinaryTree.Treenode ret=binaryTree.createnode();
        System.out.println("=========================");
        binaryTree.preorder(ret);
        System.out.println();
        List<Integer> list=new ArrayList<>();
        list.add(12);
        System.out.println(list);
        System.out.println(binaryTree.getheight(ret));
        boolean whether=binaryTree.find(ret,'E');
        System.out.println(whether);


    }

}
